package com.bw.module_service.adapter

import android.widget.TextView
import com.bw.module_service.R
import com.bw.module_service.model.CarModel
import com.bw.module_service.ui.CarManagerActivity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class CarAdapter: BaseQuickAdapter<CarModel, BaseViewHolder>(R.layout.item_car) {

    override fun convert(holder: BaseViewHolder, item: CarModel) {
        holder.setText(R.id.car_number,item.licensePlate)
        holder.setText(R.id.car_username,item.ownerName)
    }
}